package com.zky.gulimall.seckill.feign;

import com.zky.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Description 卡券服务调用
 * @Author 张开源
 * @Date 2022/12/26 13:24
 * @Version 1.0
 **/
@FeignClient("gulimall-coupon")
public interface CouponFeignService {
    /**
     * 获取最近三天的秒杀活动
     */
    @GetMapping("/coupon/seckillsession/Last3DaySession")
    R getLast3DaySession();
}
